<template>
  <view><web-view :src="src" v-if="src"></web-view></view>
</template>

<script>
export default {
  data() {
    return {
      src: ''
    };
  },
  onLoad(options) {
    if (options.src) {
      this.src = options.src;
    } else {
      this.$toast('支付页打开失败');
    }
  }
};
</script>

<style></style>
